<{include file="header.htm"}>

<div class="Midlle-top">
    <div id="Middle-one-top1">
        <div class="Middle-one">
            <div class="Middle-one-top" style="height: 330px;">
                <div class="Middle-one-top-left" style="height: 330px;">
                    <div class="Middle-one-top-top" style="height: 122px;">
                        <div class="Middle-one-top-Navigation">
                            <{if $smarty.session.USER==''}>
                            <span class="Navigation2"><a href="login.php"><img src="image/default/Navigation2.jpg" /></a></span>
                            <span class="login2"><a href="register.php"><img src="image/default/Navigation3.jpg" /></a></span>
                            <ul>
                                <li>化工行业专家学者聚集在此.</li>
                                <li>你还不是涂料学会其中一员吧？</li>
                                <li>还等什么，赶快加入吧！</li>
                            </ul>
                            <{else}>
                            <ul>
                                <li><a href="main.php"><font color="red"><{$smarty.session.USER}></font></a> 你好，欢迎回来！</li>
                                <li><label>快速发布：</label>
                                    <em>
                                        <a class="txt" href="main.php?menu=user&action=admin_personal&menu=user">资料设置</a>
                                        <a class="txt" href="main.php?menu=trade&action=admin_accounts_base&menu=trade">账户信息</a>
                                        <a class="txt" href="main.php?action=admin_mail_list&type=inbox&menu=inquire">商机管理</a>
                                        <a class="txt" href="main.php?action=m&m=friend&s=admin_friends_list&menu=inquire">商友管理</a>
                                        <a class="txt" href="main.php">进入会员办公室
                                        </a>
                                    </em>
                                </li>
                            </ul>

                            <{/if}>
                        </div>
<!--                        <div class="Middle-one-top-Buttom">

                        </div>-->
                    </div>
                    <div class="Middle-one-top-buttom" style="height: 200px;">
                        <div class="Middle-one-top-buttom-top">
                            <span class="xinpin">学会动态</span>
                            <span class="fuhao">>></span>
                            <span class="gengduo"><a href="index.php?m=news&s=news_list&id=152">更多</a></span>
                        </div>
                        <div class="xhdongtai">
                            <ul>
                                <{insert name="getNews" limit=4 leng=28 catid=152}>
                            </ul>
                        </div>

                    </div>
                </div>
                <div class="Middle-one-top-Middle" style="height: 330px;">
                    <div class="Middle-one-top-Middle-images">
                        <div id="KinSlideshow" style="visibility:hidden;">     
                        <{insert name="getNews" limit=6 leng=60 isflash="ture"}>
                    </div>
                    </div>
                    <div class="Middle-one-top-Middle-wenzi" style="height: 100px;">
                        <div class="Middle-one-top-Middle-top">
<!--                            <div id="tab">
                                <ul>
                                    <li>产品</li>
                                    <li>企业</li>
                                    <li>培训</li>
                                    <li>市场分析</li>
                                </ul>
                            </div>
                            <div id="con">
                                <ul>
                                    <li>
                                        <{foreach from=$offer item=list}>
                                            <a href=""><{$list.title|truncate:10}></a>
                                        <{/foreach}>
                                    </li>
                                    <li>
                                        
                                    </li>
                                    <li>c</li>
                                    <li>d</li>
                                </ul>
                            </div>-->
                            <script src='<{$config.weburl}>/api/ad.php?id=48&catid=<{$smarty.get.id}>'></script>
                        </div>
                    </div>

                </div>
                <div class="Middle-one-top-right" style="height: 330px;">
                    <div class="Middle-one-top-right-top1">
                        <div class="Middle-one-top-right-top1-top">
                            <span class="xinpin">焦点新闻</span>
                            <span class="fuhao">>></span>
                            <span class="gengduo"><a href="index.php?m=news">更多</a></span>
                        </div>
                        <div class="Middle-one-top-right-top1-buttom">
                            <ul class="jiaodian"> 
                                <{insert name="getNews" limit=4 leng=36 istop="true"}>
                            </ul>
                        </div>
                    </div>
                    <div class="Middle-one-top-right-top2">
                        <div class="Middle-one-top-right-top1-top">
                            <span class="xinpin">市场新闻</span>
                            <span class="fuhao">>></span>
                            <span class="gengduo"><a href="index.php?m=news&s=news_list&id=151">更多</a></span>
                        </div>
                        <div class="Middle-one-top-right-top1-buttom">
                            <ul class="jiaodian"> 
                                <{insert name="getNews" limit=4 leng=36 catid=151 istime=true}>
                            </ul>
                        </div> 
                    </div>
<!--                    <div class="Middle-one-top-right-top3">
                        <div class="Middle-one-top-right-top1-top">
                            <span class="xinpin">国内新闻</span>
                            <span class="fuhao">>></span>
                            <span class="gengduo"><a href="index.php?m=news&s=news_list&id=155">更多</a></span>
                        </div>
                        <div class="Middle-one-top-right-top1-buttom">
                            <ul class="jiaodian"> 
                                <{insert name="getNews" limit=4 leng=36 catid=155 istime=true}>
                            </ul>
                        </div>
                    </div>
                    <div class="Middle-one-top-right-top4">
                        <div class="Middle-one-top-right-top1-top">
                            <span class="xinpin">国际新闻</span>
                            <span class="fuhao">>></span>
                            <span class="gengduo"><a href="index.php?m=news&s=news_list&id=156">更多</a></span>
                        </div>
                        <div class="Middle-one-top-right-top1-buttom">
                            <ul class="jiaodian"> 
                                <{insert name="getNews" limit=4 leng=36 catid=156 istime=true}>
                            </ul>
                        </div>
                    </div>-->

                </div>
            </div>
        </div>
    </div>
    <div class="Middle-two">
        <div class="Middle-two-content">
            <div class="Middle-two-content-left">
                <div class="Middle-two-content-Middle-top">
                    <span class="xinpin">供货信息</span>
                    <span class="fuhao">>></span>
                    <span class="gengduo"><a href="index.php?m=offer&s=offer_list&catType=1">更多</a></span>
                </div>
                <div class="Middle-two-content-Middle-gongqiu">
                    <div class="Middle-two-content-Middle-button-top">
                        <span class="one">供货产品</span>
                        <span class="two">地区</span>
                        <span class="two">公司</span>
                        <span class="two">发布时间</span>
                    </div>

                    <div class="Middle-two-content-Middle-button-button">
                        <{insert name="getOffers" limit=20 leng=28 type=1 isindex="ture"}>
                    </div>


                </div>
            </div>
            <div class="Middle-two-content-right">
                <div class="Middle-two-content-right-top3">
                    <span class="xinpin">涂料应用</span>
                    <span class="fuhao">>></span>
                    <span class="gengduo"><a href="index.php?m=news&s=news_list&id=157">更多</a></span>
                </div>
                <div class="yingyong">
                    <ul class="jiaodian">
                        <{insert name="getNews" limit=10 leng=35 catid=157 istime=true}>
                    </ul>																		 
                </div>
            </div>
        </div>
    </div>
    <div class="Middle-two">
        <div class="Middle-two-content">
            <div class="Middle-two-content-left">
                <div class="Middle-two-content-Middle-top">
                    <span class="feiji"><a href="">求购信息</a></span>
                    <span class="fuhao">>></span>
                    <span class="gengduo"><a href="index.php?m=offer&s=offer_list&catType=2">更多</a></span>
                </div>
                <div class="Middle-two-content-Middle-button">
                    <div class="Middle-two-content-Middle-button-top">
                        <span class="one">求购产品</span>
                        <span class="two">地区</span>
                        <span class="two">公司</span>
                        <span class="two">发布时间</span>
                    </div>
                    <div class="Middle-two-content-Middle-button-button">
                        <{insert name="getOffers" limit=20 leng=35 type=2 isindex="ture"}>

                    </div>
                </div>
            </div>
            <div class="Middle-two-content-right">
                <div class="Middle-two-content-right-top3">
                    <span class="xinpin">技术交流</span>
                    <span class="fuhao">>></span>
                    <span class="gengduo"><a href="index.php?m=news&s=news_list&id=158">更多</a></span>
                </div>
                <div class="yingyong">
                    <ul>
                        <{insert name="getNews" limit=10 leng=35 catid=158 istime=true}>
                    </ul>																		 
                </div>
            </div>
        </div>
    </div>
    <div class="Middle-two">
        <div class="Middle-two-content">
            <div class="Middle-two-content-left">
                <div class="Middle-two-content-Middle-top">
                    <span class="xinpin">专家简介</span>
                    <span class="fuhao">>></span>
                    <span class="gengduo"><a href="index.php?m=news&s=expert">更多</a></span>

                </div>
                <div class="Middle-two-content-Middle-gongqiu">
                    <div class="Middle-two-content-Middle-gongqiu-zhuanjia1">
                        <div class="Middle-two-content-Middle-gongqiu-zhuanjia1-top">
                            <{insert name="getNews" limit=10 leng=12 catid=160 iszj=true}>

                        </div>
                    </div>
                </div>
            </div>
            <div class="Middle-two-content-right">
                <div class="Middle-two-content-right-top3">
                    <span class="xinpin">涂料大视野</span>
                    <span class="fuhao">>></span>
                    <span class="gengduo"><a href="index.php?m=news&s=news_list&id=159">更多</a></span>
                </div>
                <div class="yingyong">
                    <ul class="shiye"> 
                        <{insert name="getNews" limit=4 leng=35 catid=159 istime=true}>
                    </ul>																	 
                </div>
            </div>
        </div>
    </div>
    <div class="Middle-two">
        <div class="Middle-two-content">
            <div class="Middle-two-content-left2">
                <div class="Middle-two-content-left-left">
                    <div class="Middle-two-content-left-left-top">
                        <span class="xinpin">企业招聘</span>
                        <span class="fuhao">>></span>
                        <span class="gengduo"><a href="index.php?m=job&s=job_list">更多</a></span>
                    </div>
                    <div class="Middle-two-content-left-left-button">
                        <ul class="zhaopin2"> 
                            <{insert name="getJob" limit=10 leng=30 istime="ture" tj="ture"}>
                        </ul>
                    </div>
                </div>
                <div class="Middle-two-content-left-right">
                    <div class="Middle-two-content-left-left-top">
                        <span class="xinpin">个人求职</span>
                        <span class="fuhao">>></span>
                        <span class="gengduo"><a href="index.php?m=job&s=resume_list">更多</a></span>
                    </div>
                    <div class="Middle-two-content-left-left-button">
                        <ul class="zhaopin2"> 
                            <{insert name="getResume" limit=10 leng=30 istime="ture" tj="ture"}>
                        </ul>
                    </div>
                </div>
            </div>
            <div class="Middle-two-content-right">
                <div class="Middle-two-content-right-top3">
                    <span class="xinpin">读者互动</span>
                    <span class="fuhao">>></span>
                    <span class="gengduo">更多</span>
                </div>
            </div>
        </div>
    </div>
    <script type="text/javascript">
            (function(t){
                window[t] = function(cmd, con, evt, css, index){
                    var evt = evt || 'mouseover',
			
                    css = css || 'curr',
                    index = index || 0;
                    show(index);
                    for(var i = 0, l = cmd.length; i < l; i ++){
                        (function(n){
                            cmd[n]['on'+ evt] = function(){
                                show(n);
                            }
                        })(i);
                    };
                    function show(i){
                        cmd[index].className = cmd[index].className.replace(css, '');
                        con[index].style.display = 'none';
                        index = i;
                        cmd[index].className += css;
                        con[index].style.display = 'block';
                    }
                }
			
            })('Tab');

            function tag(i, t){
                return document.getElementById(i).getElementsByTagName(t);
            };
            //Tab(tag('tab','li'), tag('con','li'), 'click', '', 1);
        </script>
    <{include file="footer.htm"}>